﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="profile.aspx.cs" Inherits="admin_members_profile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" Runat="Server">
    <h1>Member Profile</h1>
<div class="form-horizontal">
    <div class="control-group">
        <asp:Label ID="msgLabel" runat="server"></asp:Label>
    </div>
    <div class="control-group">
        <label class="control-label" for="fnameBox">
            First Name</label>
        <div class="controls">
            <asp:TextBox ID="fnameBox" runat="server" ReadOnly="True"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="lnameBox">
            Last Name</label>
        <div class="controls">
            <asp:TextBox ID="lnameBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="emailBox">
            Email</label>
        <div class="controls">
            <asp:TextBox ID="emailBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="phoneBoc">
            Phone</label>
        <div class="controls">
            <asp:TextBox ID="phoneBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="studentBox">
            Student ID</label>
        <div class="controls">
            <asp:TextBox ID="studentBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="UniList">
            University</label>
        <div class="controls">
            <asp:DropDownList ID="uniList" runat="server" DataSourceID="SqlDataSource1" 
                DataTextField="UNIVERISTY_NAME" DataValueField="ID" AppendDataBoundItems="True" Enabled="False">
                <asp:ListItem></asp:ListItem>
            </asp:DropDownList>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:ApplicationServices %>" 
                SelectCommand="SELECT * FROM [UNIVERSITIES]"></asp:SqlDataSource>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="sbjBox">
            Subject Area</label>
        <div class="controls">
            <asp:TextBox ID="sbjBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="yearBox">
            Year of Study</label>
        <div class="controls">
            <asp:TextBox ID="yearBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="degreeBox">
            Degree Type</label>
        <div class="controls">
            <asp:TextBox ID="degreeBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="carrerBox">
            Career Interest</label>
        <div class="controls">
            <asp:TextBox ID="careerBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="genderList">
            Gender</label>
        <div class="controls">
            <asp:TextBox ID="genderBox" ReadOnly="True" runat="server"></asp:TextBox>            
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="ethnicityBox">
            Ethnicity</label>
        <div class="controls">
            <asp:TextBox ID="ethnicityBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <%--<div class="control-group">
        <label class="control-label" for="citizenList">
            UK Citizen</label>
        <div class="controls">
            <asp:DropDownList ID="citizenList" runat="server">
                <asp:ListItem></asp:ListItem>
                <asp:ListItem Value="true">Yes</asp:ListItem>
                <asp:ListItem Value="false">No</asp:ListItem>
            </asp:DropDownList>
        </div>
    </div>--%>
    <div class="control-group">
        <label class="control-label" for="ageList">
            Age Group</label>
        <div class="controls">
            <asp:TextBox ID="ageBox" ReadOnly="True" runat="server"></asp:TextBox>
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <%--<asp:LinkButton ID="Button1" runat="server" CssClass="btn btn-info" ><i class="icon-user"></i> Update</asp:LinkButton>--%>
            <asp:LinkButton ID="Button2" runat="server" CssClass="btn btn-danger" 
                onclick="Button2_Click" ><i class="icon-remove"></i> Delete</asp:LinkButton>
            <asp:HyperLink ID="HyperLink1" runat="server" CssClass="btn btn-info" 
                NavigateUrl="~/admin/members/edit-member.aspx?id=" ><i class="icon-edit"></i> Edit</asp:HyperLink>
        </div>    
    </div>
</div>
</asp:Content>

